package com.ad.payload.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 *  类别
 * </p>
 *
 * @author rclia
 * @since 2021-03-10
 */
@Data
public class PfCategoryDto {

    private static final long serialVersionUID=1L;

    private Long id;

    @NotBlank(message = "类别编码不能为空")
    private String categoryCode;
    @NotBlank(message = "类别描述不能为空")
    private String categoryName;
    @NotBlank(message = "类别图标不能为空")
    private String categoryIcon;

    private Integer categorySort;

}
